import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './styles/elementui-variables.scss';
Vue.use(ElementUI)
import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
Vue.use(Avue);

import AvueUeditor from 'avue-plugin-ueditor'
Vue.use(AvueUeditor);
// 第三方动画库
import 'animate.css';
// 阿里云图标
import './assets/icon/iconfont.css';
import router from './router'
import { chantabs } from './router/configRouter';
import store from './store'
Vue.config.productionTip = false

Vue.config.errorHandler = function (err, vm, info) {
  console.log('=======错误信息========',err)
  console.log('=======info=========',info)
  console.log('========vm=======',vm)
}
chantabs()
new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.$bus = this
  },
}).$mount('#app')
